package com.woniu.register.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：lgy
 * @description：前端传回数据
 * @date ：2022/12/7 20:14
 */
@Data
public class DirectoryLiDTO {

    private Integer directoryId;

    private String directoryStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")

    private Date stateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")

    private Date endTime;

    //每页行数
    private Integer pageSize;
    //当前页
    private Integer currentPage;
}
